﻿package com.toncen.samepms.basic.domain;

import com.toncen.samepms.common.AbstractDomain;
import com.sky.dataimport.DynamicCellDataCell;
import com.sky.dataimport.DynamicCellDataRow;
import com.sky.dataimport.DynamicRowDataCell;
import com.sky.dataimport.DynamicRowDataRow;
import com.sky.dataimport.StaticDataCell;
import com.sky.dataimport.StaticDataRow;
import com.sky.dataimport.datatype.IntegerDataType;
 
/**
 * 描述：上传附件关系表表BASIC_DOCUMENT_RELATION的domain文件
 * 
 * @author tch
 */
@DynamicRowDataRow(title = "动态行上传附件关系表", sheetIndex = 1, startRowIndex = 2, startCellIndex = 1, inserted = false)
@DynamicCellDataRow(title = "动态列上传附件关系表", sheetIndex = 1, startRowIndex = 2, startCellIndex = 2, inserted = false)
@StaticDataRow(title = "静态行列上传附件关系表", sheetIndex = 1)
public class DocumentRelation extends AbstractDomain {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1337079688106L;
	
	/**
	 * 文档编号
	 */ 
	@StaticDataCell(rowIndex = 1, cellIndex = 1, title = "文档编号")
	@DynamicRowDataCell(cellIndex = 1,  title = "文档编号", require = false)
	@DynamicCellDataCell(rowIndex = 1,  title = "文档编号", require = false)
	@IntegerDataType(msg = "必须为整数类型")
	private  long docId; 	 
    
	/**
	 * 所属功能
	 */ 
	@StaticDataCell(rowIndex = 2, cellIndex = 2, title = "所属功能")
	@DynamicRowDataCell(cellIndex = 2,  title = "所属功能", require = false)
	@DynamicCellDataCell(rowIndex = 2,  title = "所属功能", require = false)
	private  String capability; 	 
    
	/**
	 * 所属记录编号
	 */ 
	@StaticDataCell(rowIndex = 3, cellIndex = 3, title = "所属记录编号")
	@DynamicRowDataCell(cellIndex = 3,  title = "所属记录编号", require = false)
	@DynamicCellDataCell(rowIndex = 3,  title = "所属记录编号", require = false)
	@IntegerDataType(msg = "必须为整数类型")
	private  long recodeId; 	 
    
	/**
	 * 所属业务类型
	 */ 
	@StaticDataCell(rowIndex = 4, cellIndex = 4, title = "所属业务类型")
	@DynamicRowDataCell(cellIndex = 4,  title = "所属业务类型", require = false)
	@DynamicCellDataCell(rowIndex = 4,  title = "所属业务类型", require = false)
	@IntegerDataType(msg = "必须为整数类型")
	private  int businessTypeId; 	 
    

	public DocumentRelation() {
		super();
	}

	/**
	 * @return the  docId
	 */
	public  long getDocId() {
		return  docId;
	}

	/**
	 * @param  docId
	 *            the  docId to set
	 */
	public void setDocId( long  docId) {
		this. docId =  docId;
	}
	
	/**
	 * @return the  capability
	 */
	public  String getCapability() {
		return  capability;
	}

	/**
	 * @param  capability
	 *            the  capability to set
	 */
	public void setCapability( String  capability) {
		this. capability =  capability;
	}
	
	/**
	 * @return the  recodeId
	 */
	public  long getRecodeId() {
		return  recodeId;
	}

	/**
	 * @param  recodeId
	 *            the  recodeId to set
	 */
	public void setRecodeId( long  recodeId) {
		this. recodeId =  recodeId;
	}
	
	/**
	 * @return the  businessTypeId
	 */
	public  int getBusinessTypeId() {
		return  businessTypeId;
	}

	/**
	 * @param  businessTypeId
	 *            the  businessTypeId to set
	 */
	public void setBusinessTypeId( int  businessTypeId) {
		this. businessTypeId =  businessTypeId;
	}
	
}
